//
//  JokeModel.m
//  Otaku
//
//  Created by lanou3g on 16/5/9.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import "JokeModel.h"

@implementation JokeModel
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"group"]) {
        [self setValuesForKeysWithDictionary:value];
    }
    if ([key isEqualToString:@"user"]) {
        [self setValuesForKeysWithDictionary:value];
    }
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
    
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}




@end
